<h3><?php echo $this->paginator->getTotalItemCount() ?> Entries</h3>
<?php if (count($this->paginator)): ?>
<?php echo $this->paginationControl($this->paginator, 'Elastic', '/partials/_paginatorEntries.phtml'); ?>
    <ul class="entry-list">
    <?php foreach ($this->paginator as $entry): ?>
        <li>
            <div id="title"><?php echo $entry['title'] ?></div>
            <div id="operation"><a href="/admin/entry/edit/id/<?php echo $entry['id'] ?>">Edit</a>
                | <a href="/admin/entry/delete/id/<?php echo $entry['id'] ?>"
                     onclick="return confirm('Are you sure you want to delete?')">Delete</a></div>
        </li>
    <?php endforeach; ?>
    </ul>
<?php else: ?>
    <p class="error">There are no entries for this blog.</p>
<?php endif; ?>